<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Jialeo\LaravelSchemaExtend\Schema;

class AddDisclosureStatusToOpenShopSignOrderTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('open_shop_sign_order', function (Blueprint $table) {
            $table->tinyInteger('disclosureStatus')->default(0)->comment('披露单上传状态  0=false未上传； 1=true已上传');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('open_shop_sign_order', function (Blueprint $table) {
            $table->dropColumn('disclosureStatus');
        });
    }
}
